

mob/Login()
	src.icon = 'sweet graphics.dmi'
	src.icon_state = src.client.Status
	..()

/**************************************************************************************************/
/*                                    Individual Chatters                                         */
/**************************************************************************************************/

client {

	/* Chatter specific variables */
	var
		Muted
		Grid_Color = "black"
		Font_Weight = "normal"

		Status = "Available"
		Inputted = 0
		Typing = 0
		Colors = 1

		Name_Color = "black"
		Text_Color = "black"
		Output_Style = "MS Sans Serif"

		Status_Message = "Available"
		WhoSide = "Left"

		LoggedIn = 0

	/*proc
		/* Save the chatters name/text colors */
		SaveMe() {
			fdel("Chatters/[src].sav")
			var/savefile/F = new("Chatters/[src].sav")
			F["[src]/Name"]<<src.Name_Color
			F["[src]/Text"]<<src.Text_Color
		}

		LoadMe() {
			if(fexists("Chatters/[src].sav")) {
				var/savefile/F = new("Chatters/[src].sav")
				F["[src]/Name"]>>src.Name_Color
				F["[src]/Text"]>>src.Text_Color
			}
		}
*/
	New() {
		if(src.key in Banned)
			del(src)
		src.LoggedIn = 1
	//	src.LoadMe()

		winset(src,"Main","menu=main")
		winset(src,"Main.Topic","text=\"[ConversationTopic]\"")


		src<<Message
		System_WorldMessage("[src] has logged in.")
		System_UserMessage(src,ConversationTopic)

		if(src.ckey in Admins) {
			src.verbs+=typesof(/client/Admin/verb)
			winset(src,"Main","menu=Admin")
			src.Grid_Color = "#9966CC"
			src.Font_Weight = "bold"
		}

		spawn() src.UserList()
		..()
	}

	Del() {
		if(src.key in Banned)
			..()
		else
			src.LoggedIn = 0
			System_WorldMessage("[src] has logged out.")
		//	src.SaveMe()
			..()
	}
}
